<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Runtime operations functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__hppass__rt__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Runtime operations functions<div class="ingroups"><a class="el" href="group__group__hppass.html">HPPASS       (High Performance Programmable Analog Sub-System)</a> &raquo; <a class="el" href="group__group__hppass__common.html">Common</a> &raquo; <a class="el" href="group__group__hppass__functions.html">Functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga25b8223ee241be2d737d2d8d1e636122"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga25b8223ee241be2d737d2d8d1e636122">Cy_HPPASS_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:ga25b8223ee241be2d737d2d8d1e636122"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the interrupt register status.  <a href="#ga25b8223ee241be2d737d2d8d1e636122">More...</a><br /></td></tr>
<tr class="separator:ga25b8223ee241be2d737d2d8d1e636122"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e640f7c9f0c7e3622b27e256e1197c5"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga8e640f7c9f0c7e3622b27e256e1197c5">Cy_HPPASS_ClearInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga8e640f7c9f0c7e3622b27e256e1197c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the interrupt for High Performance Programmable Analog Sub-System.  <a href="#ga8e640f7c9f0c7e3622b27e256e1197c5">More...</a><br /></td></tr>
<tr class="separator:ga8e640f7c9f0c7e3622b27e256e1197c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98877ae8b15b10c0f455b20f953d7c88"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga98877ae8b15b10c0f455b20f953d7c88">Cy_HPPASS_SetInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga98877ae8b15b10c0f455b20f953d7c88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a software interrupt request for the High Performance Programmable Analog Sub-System.  <a href="#ga98877ae8b15b10c0f455b20f953d7c88">More...</a><br /></td></tr>
<tr class="separator:ga98877ae8b15b10c0f455b20f953d7c88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50d87d33bc8a8336ceabd70566fd42cd"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga50d87d33bc8a8336ceabd70566fd42cd">Cy_HPPASS_SetInterruptMask</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga50d87d33bc8a8336ceabd70566fd42cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures which bits of the interrupt request register will trigger an interrupt event in the High Performance Programmable Analog Sub-System.  <a href="#ga50d87d33bc8a8336ceabd70566fd42cd">More...</a><br /></td></tr>
<tr class="separator:ga50d87d33bc8a8336ceabd70566fd42cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c63422b1d7cdd30e071e545251a6ee9"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga5c63422b1d7cdd30e071e545251a6ee9">Cy_HPPASS_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga5c63422b1d7cdd30e071e545251a6ee9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the interrupt mask.  <a href="#ga5c63422b1d7cdd30e071e545251a6ee9">More...</a><br /></td></tr>
<tr class="separator:ga5c63422b1d7cdd30e071e545251a6ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga224aab393eb9b8fa9cbf40249b7a4d9c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga224aab393eb9b8fa9cbf40249b7a4d9c">Cy_HPPASS_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:ga224aab393eb9b8fa9cbf40249b7a4d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the result of the bitwise AND operation between the corresponding interrupt request and mask bits.  <a href="#ga224aab393eb9b8fa9cbf40249b7a4d9c">More...</a><br /></td></tr>
<tr class="separator:ga224aab393eb9b8fa9cbf40249b7a4d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43d9123b2df71179051481e35cc19ad5"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga43d9123b2df71179051481e35cc19ad5">Cy_HPPASS_SetFwTriggerPulse</a> (uint8_t mask)</td></tr>
<tr class="memdesc:ga43d9123b2df71179051481e35cc19ad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates FW Pulse trigger if according configuration done in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>.  <a href="#ga43d9123b2df71179051481e35cc19ad5">More...</a><br /></td></tr>
<tr class="separator:ga43d9123b2df71179051481e35cc19ad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77fb946fbb6b3a39a7d6b40cfca4bfdd"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga77fb946fbb6b3a39a7d6b40cfca4bfdd">Cy_HPPASS_SetFwTriggerLevel</a> (uint8_t mask)</td></tr>
<tr class="memdesc:ga77fb946fbb6b3a39a7d6b40cfca4bfdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates FW Level trigger if according configuration done in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>.  <a href="#ga77fb946fbb6b3a39a7d6b40cfca4bfdd">More...</a><br /></td></tr>
<tr class="separator:ga77fb946fbb6b3a39a7d6b40cfca4bfdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18367310dbde8b68347e112512dff9b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a> (uint8_t mask)</td></tr>
<tr class="memdesc:ga18367310dbde8b68347e112512dff9b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates FW trigger, Pulse or Level, depends on configuration in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>.  <a href="#ga18367310dbde8b68347e112512dff9b0">More...</a><br /></td></tr>
<tr class="separator:ga18367310dbde8b68347e112512dff9b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7985980ea054aeffd4a80eaecae32bb7"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#ga7985980ea054aeffd4a80eaecae32bb7">Cy_HPPASS_ClearFwTriggerLevel</a> (uint8_t mask)</td></tr>
<tr class="memdesc:ga7985980ea054aeffd4a80eaecae32bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the firmware Level trigger.  <a href="#ga7985980ea054aeffd4a80eaecae32bb7">More...</a><br /></td></tr>
<tr class="separator:ga7985980ea054aeffd4a80eaecae32bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec50090d7650e80ea66ba52877069f04"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#gaec50090d7650e80ea66ba52877069f04">Cy_HPPASS_ClearFwTrigger</a> (uint8_t mask)</td></tr>
<tr class="memdesc:gaec50090d7650e80ea66ba52877069f04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the firmware trigger.  <a href="#gaec50090d7650e80ea66ba52877069f04">More...</a><br /></td></tr>
<tr class="separator:gaec50090d7650e80ea66ba52877069f04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadee295fbbe275e9e23fa66d90e7250e4"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__rt__functions.html#gadee295fbbe275e9e23fa66d90e7250e4">Cy_HPPASS_IsVddaOk</a> (void)</td></tr>
<tr class="memdesc:gadee295fbbe275e9e23fa66d90e7250e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the VDDA voltage status.  <a href="#gadee295fbbe275e9e23fa66d90e7250e4">More...</a><br /></td></tr>
<tr class="separator:gadee295fbbe275e9e23fa66d90e7250e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga25b8223ee241be2d737d2d8d1e636122"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25b8223ee241be2d737d2d8d1e636122">&#9670;&nbsp;</a></span>Cy_HPPASS_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the interrupt register status. </p>
<dl class="section return"><dt>Returns</dt><dd>The status of combined interrupt requests <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"><span class="keywordtype">void</span> Cy_HPPASS_AcIsr()</div><div class="line">{</div><div class="line">    intStatusMsk = <a class="code" href="group__group__hppass__rt__functions.html#ga224aab393eb9b8fa9cbf40249b7a4d9c">Cy_HPPASS_GetInterruptStatusMasked</a>();</div><div class="line"></div><div class="line">    <a class="code" href="group__group__hppass__rt__functions.html#ga8e640f7c9f0c7e3622b27e256e1197c5">Cy_HPPASS_ClearInterrupt</a>(intStatusMsk);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span> (0UL != (<a class="code" href="group__group__hppass__interrupts.html#ga09776ba2aa2cad7b71ab014b8d33f5eb">CY_HPPASS_INTR_AC_INT</a> &amp; intStatusMsk))</div><div class="line">    {</div><div class="line">        acIntFlag = <span class="keyword">true</span>;</div><div class="line"></div><div class="line">        <span class="comment">/* do something useful here */</span></div><div class="line">    }</div><div class="line">}</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga8e640f7c9f0c7e3622b27e256e1197c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e640f7c9f0c7e3622b27e256e1197c5">&#9670;&nbsp;</a></span>Cy_HPPASS_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the interrupt for High Performance Programmable Analog Sub-System. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to clear. Each bit of this mask is responsible for clearing of the particular interrupt <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"><span class="keywordtype">void</span> Cy_HPPASS_AcIsr()</div><div class="line">{</div><div class="line">    intStatusMsk = <a class="code" href="group__group__hppass__rt__functions.html#ga224aab393eb9b8fa9cbf40249b7a4d9c">Cy_HPPASS_GetInterruptStatusMasked</a>();</div><div class="line"></div><div class="line">    <a class="code" href="group__group__hppass__rt__functions.html#ga8e640f7c9f0c7e3622b27e256e1197c5">Cy_HPPASS_ClearInterrupt</a>(intStatusMsk);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span> (0UL != (<a class="code" href="group__group__hppass__interrupts.html#ga09776ba2aa2cad7b71ab014b8d33f5eb">CY_HPPASS_INTR_AC_INT</a> &amp; intStatusMsk))</div><div class="line">    {</div><div class="line">        acIntFlag = <span class="keyword">true</span>;</div><div class="line"></div><div class="line">        <span class="comment">/* do something useful here */</span></div><div class="line">    }</div><div class="line">}</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga98877ae8b15b10c0f455b20f953d7c88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98877ae8b15b10c0f455b20f953d7c88">&#9670;&nbsp;</a></span>Cy_HPPASS_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a software interrupt request for the High Performance Programmable Analog Sub-System. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to set. Each bit of this mask is responsible for triggering of the particular interrupt <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: AC interrupt needs to be initiated be FW request */</span></div><div class="line">    <a class="code" href="group__group__hppass__rt__functions.html#ga98877ae8b15b10c0f455b20f953d7c88">Cy_HPPASS_SetInterrupt</a>(<a class="code" href="group__group__hppass__interrupts.html#ga09776ba2aa2cad7b71ab014b8d33f5eb">CY_HPPASS_INTR_AC_INT</a>);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga50d87d33bc8a8336ceabd70566fd42cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50d87d33bc8a8336ceabd70566fd42cd">&#9670;&nbsp;</a></span>Cy_HPPASS_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures which bits of the interrupt request register will trigger an interrupt event in the High Performance Programmable Analog Sub-System. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts allowable for activation. Each bit of this mask allows triggering of the particular interrupt <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: The AC interrupt needs to be allowed */</span></div><div class="line">    <a class="code" href="group__group__hppass__rt__functions.html#ga50d87d33bc8a8336ceabd70566fd42cd">Cy_HPPASS_SetInterruptMask</a>(<a class="code" href="group__group__hppass__interrupts.html#ga09776ba2aa2cad7b71ab014b8d33f5eb">CY_HPPASS_INTR_AC_INT</a>);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga5c63422b1d7cdd30e071e545251a6ee9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c63422b1d7cdd30e071e545251a6ee9">&#9670;&nbsp;</a></span>Cy_HPPASS_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the interrupt mask. </p>
<p>Each bit of this mask allows triggering of the particular interrupt in the High Performance Programmable Analog Sub-System.</p>
<dl class="section return"><dt>Returns</dt><dd>The mask of the interrupts allowable for activation <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: Masked interrupts needs to be verified */</span></div><div class="line">    uint32_t intMsk = <a class="code" href="group__group__hppass__rt__functions.html#ga5c63422b1d7cdd30e071e545251a6ee9">Cy_HPPASS_GetInterruptMask</a>();</div><div class="line">    <span class="comment">/* Verify intMsk */</span></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga224aab393eb9b8fa9cbf40249b7a4d9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga224aab393eb9b8fa9cbf40249b7a4d9c">&#9670;&nbsp;</a></span>Cy_HPPASS_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the result of the bitwise AND operation between the corresponding interrupt request and mask bits. </p>
<p>See <a class="el" href="group__group__hppass__rt__functions.html#ga25b8223ee241be2d737d2d8d1e636122">Cy_HPPASS_GetInterruptStatus</a> and <a class="el" href="group__group__hppass__rt__functions.html#ga50d87d33bc8a8336ceabd70566fd42cd">Cy_HPPASS_SetInterruptMask</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The masked status of combined interrupt requests <a class="el" href="group__group__hppass__interrupts.html">Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"><span class="keywordtype">void</span> Cy_HPPASS_AcIsr()</div><div class="line">{</div><div class="line">    intStatusMsk = <a class="code" href="group__group__hppass__rt__functions.html#ga224aab393eb9b8fa9cbf40249b7a4d9c">Cy_HPPASS_GetInterruptStatusMasked</a>();</div><div class="line"></div><div class="line">    <a class="code" href="group__group__hppass__rt__functions.html#ga8e640f7c9f0c7e3622b27e256e1197c5">Cy_HPPASS_ClearInterrupt</a>(intStatusMsk);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span> (0UL != (<a class="code" href="group__group__hppass__interrupts.html#ga09776ba2aa2cad7b71ab014b8d33f5eb">CY_HPPASS_INTR_AC_INT</a> &amp; intStatusMsk))</div><div class="line">    {</div><div class="line">        acIntFlag = <span class="keyword">true</span>;</div><div class="line"></div><div class="line">        <span class="comment">/* do something useful here */</span></div><div class="line">    }</div><div class="line">}</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga43d9123b2df71179051481e35cc19ad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga43d9123b2df71179051481e35cc19ad5">&#9670;&nbsp;</a></span>Cy_HPPASS_SetFwTriggerPulse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SetFwTriggerPulse </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates FW Pulse trigger if according configuration done in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Trigger mask. See <a class="el" href="group__group__hppass__triggers__masks.html">Trigger Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga77fb946fbb6b3a39a7d6b40cfca4bfdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77fb946fbb6b3a39a7d6b40cfca4bfdd">&#9670;&nbsp;</a></span>Cy_HPPASS_SetFwTriggerLevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SetFwTriggerLevel </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates FW Level trigger if according configuration done in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Trigger mask. See <a class="el" href="group__group__hppass__triggers__masks.html">Trigger Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga18367310dbde8b68347e112512dff9b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18367310dbde8b68347e112512dff9b0">&#9670;&nbsp;</a></span>Cy_HPPASS_SetFwTrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_SetFwTrigger </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates FW trigger, Pulse or Level, depends on configuration in <a class="el" href="group__group__hppass__cfg__functions.html#gaa070f2bab6825033bdc4e2340bf1e282" title="Sets the input trigger type and operation mode. ">Cy_HPPASS_TriggerInConfig()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Trigger mask. See <a class="el" href="group__group__hppass__triggers__masks.html">Trigger Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status of operation, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: Trigger#0 needs to be initiated by FW request */</span></div><div class="line">    <span class="keywordflow">if</span> (CY_HPPASS_SUCCESS != <a class="code" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Process the error */</span></div><div class="line">        printf(<span class="stringliteral">&quot;Cy_HPPASS_SetFwTrigger returns error\r\n&quot;</span>);</div><div class="line">    }</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga7985980ea054aeffd4a80eaecae32bb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7985980ea054aeffd4a80eaecae32bb7">&#9670;&nbsp;</a></span>Cy_HPPASS_ClearFwTriggerLevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_ClearFwTriggerLevel </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the firmware Level trigger. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Trigger mask. See <a class="el" href="group__group__hppass__triggers__masks.html">Trigger Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaec50090d7650e80ea66ba52877069f04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaec50090d7650e80ea66ba52877069f04">&#9670;&nbsp;</a></span>Cy_HPPASS_ClearFwTrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_ClearFwTrigger </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the firmware trigger. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Trigger mask. See <a class="el" href="group__group__hppass__triggers__masks.html">Trigger Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status of operation, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: FW Trigger#0 needs to be cleared */</span></div><div class="line">    status = <a class="code" href="group__group__hppass__rt__functions.html#gaec50090d7650e80ea66ba52877069f04">Cy_HPPASS_ClearFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>);</div><div class="line">    <span class="comment">/* Process returned status */</span></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gadee295fbbe275e9e23fa66d90e7250e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadee295fbbe275e9e23fa66d90e7250e4">&#9670;&nbsp;</a></span>Cy_HPPASS_IsVddaOk()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE bool Cy_HPPASS_IsVddaOk </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the VDDA voltage status. </p>
<dl class="section return"><dt>Returns</dt><dd>VDDA status: true - VDDA is at or above minimum threshold, false - VDDA is below minimum threshold.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: VDDA voltage needs to be checked */</span></div><div class="line">    <span class="keywordflow">if</span> (!<a class="code" href="group__group__hppass__rt__functions.html#gadee295fbbe275e9e23fa66d90e7250e4">Cy_HPPASS_IsVddaOk</a>())</div><div class="line">    {</div><div class="line">        <span class="comment">/* Process low VDDA case */</span></div><div class="line">    }</div></div><!-- fragment --></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
